﻿using System;
using System.Collections;
using System.Data;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using CE.Global;
using CE.AreaCountry;

public partial class Admin_area_country_ViewArea : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session[CE.Global.General.UserId] == null)
        {
            Response.Redirect("~/Admin/AdminSecureLogin.aspx");
        }


        if (!Page.IsPostBack)
        {
           LoadAreaRegion();
           
        }
    }

    private void LoadAreaRegion()
    { 
    }

    protected void grvAreaRegionDetails_SelectedIndexChanged(object sender, EventArgs e)
    {
        if (grvAreaRegionDetails.Rows.Count > 0)
        {
            string strArId = grvAreaRegionDetails.SelectedDataKey.Value.ToString();
            Response.Redirect("AddNewArea.aspx?ARId=" + strArId);
        }
    }
}
